package com.lanou3g.k12.mapper;

import com.fasterxml.jackson.databind.util.JSONPObject;
import com.lanou3g.k12.entity.CourseCategory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseCategoryMapper {
    List<CourseCategory> findByKeyword(String keyword);

    List<CourseCategory> findAll();

    void deleteByIds(@Param("ids") Long[] ids);

    void insert(CourseCategory courseCategory);

    CourseCategory selectById(Long id);

    void updateById(@Param("id") Long id ,@Param("courseCategory") CourseCategory courseCategory);

    void deleteById(@Param("id") Long id);
}
